package cn.broadsense.web.controller.body;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author huangjinshi
 * @description App登录数据
 * @createDate 2023-09-12 11:21:57
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("App登录数据")
public class AppLoginBody implements Serializable {

    @NotBlank(message = "请填写账户")
    private String userName;

    @NotBlank(message = "请填写密码")
    private String password;
}
